package com.linkhub.oms.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.linkhub.oms.entity.UserAccountEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 用户账户表 Mapper 接口
 * </p>
 *
 * @author Frank
 * @since 2024-05-26
 */
@Mapper
public interface UserAccountEntityMapper extends BaseMapper<UserAccountEntity> {

    /**
     * 查询用户账户
     * @param userId userId
     * @return UserAccountEntity
     */
    UserAccountEntity selectForUpdate(@Param("userId") String userId);

}
